import request from '@/utils/request'

// 查询订单列表
export function listProductOrder(query) {
  return request({
    url: '/ds/productOrder/list',
    method: 'get',
    params: query
  })
}
// 加单
export function addAchievement(query) {
  return request({
    url: '/ds/productOrder/addAchievement',
    method: 'get',
    params: query
  })
}
// 减单
export function chargeback(query) {
  return request({
    url: '/ds/productOrder/chargeback',
    method: 'get',
    params: query
  })
}
// 子订单查询
export function childOrder(query) {
  return request({
    url: '/ds/scheduleWeb/list',
    method: 'get',
    params: query
  })
}

// 子订单导出
export function childOrderSub(query) {
  return request({
    url: '/ds/schedule/export',
    method: 'get',
    params: query
  })
}

